package com.xbongbong.pro.script.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Getter
@Setter
@ToString
public class DingtalkTemplateDTO extends BaseDTO {

    @NotEmpty(message = "校验码不能为空")
    private String xbbCode;

    /**
     * 是否更改全部(true/false)
     */
    private Boolean isAll;

    /**
     * 钉钉模板code
     */
    private String processCode;

}
